<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="{{asset('theme/js/jquery-3.1.1.min.js')}}"></script>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        form{
            width: 200px;
            height: 200px;
            margin: 0 auto;
        }
        .suv{
            float: left;
        }
    </style>
    <title>Document</title>
</head>
<body>
<div>
    @if(Session::has('message'))
        {{Session::get('message')}}
    @endif
</div>
<form action="{{url('addgoods')}}" method="post" id="action">
    <input id="token" name="_token" type="hidden" value="<?php echo csrf_token() ?>">
    <label for="gdid">商品字典ID</label><input type="text" name="gdid" id="gdid"><br/>
    <label for="sku">sku_______</label><input type="text" name="sku" id="sku"><br/>
    <label for="cid">类别ID</label><input type="text" name="cid" id="cid"><br/>
    <label for="gname">商品名称</label><input type="text" name="gname" id="gname"><br/>
    <label for="store_num">库存数量</label><input type="text" name="store_num" id="store_num"><br/>
    <label for="price">单价</label><input type="text" name="price" id="price"><br/>
    <label for="discount">折扣</label><input type="text" name="discount" id="discount"><br/>
    <label for="art_path">商品图片</label><input type="text" name="art_path" id="art_path"><br/>
    <label for="description">特征描述</label><input type="text" name="description" id="description"><br/>
    <label for="status">是否上架</label><input type="text" name="status" id="status"><br/>
    <input type="submit">
</form>
<div class="suv"></div>
</body>
<script src="{{asset('theme/js/add.js')}}"></script>

</html>